package per.ethan.ssm.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
* @author Ethan
* @date 2020/04/28 11:11
*/
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "用户信息", parent = BaseEntity.class)
public class User extends BaseEntity {

    /**
     * 
     * 字段类型: varchar
     * 长度: 30
     */
    @ApiModelProperty(value = " 字段类型: varchar 长度: 30")
    private String username;

    /**
     * 
     * 字段类型: varchar
     * 长度: 100
     */
    @ApiModelProperty(value = " 字段类型: varchar 长度: 100")
    private String password;

    /**
     * 
     * 字段类型: datetime
     */
    @ApiModelProperty(value = " 字段类型: datetime 长度: ")
    private Date birthday;

    /**
     * 
     * 字段类型: varchar
     * 长度: 30
     */
    @ApiModelProperty(value = " 字段类型: varchar 长度: 30")
    private String email;

    /**
     * 
     * 字段类型: varchar
     * 长度: 100
     */
    @ApiModelProperty(value = " 字段类型: varchar 长度: 100")
    private String address;

}